package io.github.zhengyue.basics

fun main(args: Array<String>) {
    var lists = listOf("买鸡蛋", "买大米",
        "买冰淇淋")
    for ((index, value) in lists.withIndex()) {
        println("$index $value")
    }

    var mp = HashMap<String, String>()
    mp["优秀"] = "A"
    mp["良好"] = "B"
    mp["及格"] = "C"
    mp["不及格"] = "D"
    println(mp["优秀"])
}